package chapter05.Example10;

import java.util.Random;

public class Example10 {
    public static void main(String[] args) {
       //System类
       long time=System.currentTimeMillis();
       System.out.println("time="+time);
       //Runtime类
        Runtime rt = Runtime.getRuntime();
//        while (true){
////            rt.exec("mspaint.exe");
//        }S
        //Math类
        System.out.println(Math.random());
        System.out.println(Math.PI);
        Random random = new Random();
        for (int i=0;i<10;i++){
            System.out.println(random.nextInt(56));
        }
    }
}
